package org.ezplatform.office.forum.dao;

import java.util.List;

import org.ezplatform.core.dao.jpa.JpaBaseDao;
import org.ezplatform.office.forum.entity.ForumSensitive;
import org.ezplatform.office.forum.entity.ForumType;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

/**
 *  敏感词dao
 * 2019年11月2日17:40:59
 * @author Administrator
 *
 */
@Repository
public interface ForumSensitiveDao extends JpaBaseDao<ForumSensitive, String> {
	
	@Query(" from ForumSensitive where status = 1 and corpId = ?1 ")
	List<ForumSensitive> getForumSensitive(String corpId);
}
